package com.hejjon.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hejjon.bean.FileStoreInfo;
import com.hejjon.entity.FileModel;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;

public interface IFileManageService extends IService<FileModel> {


    /**
     * 上传文件
     * @param file
     * @return
     */
    FileStoreInfo uploadFile(MultipartFile file);


    void download(HttpServletResponse response, String fileId);


}
